<ul>
    @foreach ($list as $order)
        <li>
            <p class="topcon">雇佣时间:{{$order->pay_time ? $order->pay_time->toDateTimeString() : ''}}
                <a @click="mark" order_id="{{$order->myOffer->order_id}}">我的备注</a>
                <label id="mark_{{$order->myOffer->order_id}}" v-show="false">{{$order->myOffer->mark}}</label>
            </p>
            <a style="display: block" href="{{url("order/detail/{$order->id}")}}">
            <div class="midcon">
                    <img src="{{$order->cover_img_url}}">
                    <div>
                        <h3>{{$order->service_type_text}}</h3>
                        <p>服务金额<span>{{$order->offer_price}}元</span></p>
                        <p>客户姓名: {{$order->detail->customer_name}}</p>
                        <p>客户地址:{{$order->detail->customer_area_text}} {{$order->detail->customer_address}}</p>
                    </div>
            </div>
                <div style="clear: both;"></div>
            </a>

            @if ($order->status->canceled)
                <p class="bomcon01"><a href="{{url("order/except/{$order->id}")}}">订单交易已取消</a></p>
            @elseif ($order->status->closed)
                <p class="bomcon01"><a href="{{url("order/except/{$order->id}")}}">订单已交易已关闭</a></p>
            @elseif ($order->refund && $order->refund->refund_agree)
                <p class="bomcon01"> <a href="{{url("refund/detail/{$order->refund->id}")}}">您已同意退款</a></p>
            @elseif ($order->refund && $order->refund->arbitrate_agree)
                <p class="bomcon01"><a href="{{url("refund/detail/{$order->refund->id}")}}">仲裁支持退款</a></p>
            @elseif ($order->refund && $order->refund->refunding)
                <p class="bomcon"><a href="{{url("order/refund/{$order->id}")}}">退款申请中</a></p>
            @elseif ($order->refund && $order->refund->arbitrating)
                <p class="bomcon"><a href="{{url("order/refund/{$order->id}")}}">客服仲裁中</a></p>
            @else
                @if ($order->status->employed)
                    <p class="bomcon"><a href="{{url("order/appoint/{$order->id}")}}">预约客户</a></p>
                @elseif ($order->status->appointed && $order->need_delivery)
                    <p class="bomcon"><i>预约上门时间:{{$order->status->door_time_text}}</i><a
                                href="{{url("order/delivery/{$order->id}")}}">物流提货</a></p>
                @elseif ($order->status->appointed && !$order->need_delivery)
                    <p class="bomcon"><i>预约上门时间:{{$order->status->door_time_text}}</i><a
                                href="{{url("order/finish/{$order->id}")}}">完成服务</a></p>
                @elseif ($order->status->delivered)
                    <p class="bomcon"><i>物流提货时间:{{$order->status->deliver_time_text}}</i><a
                                href="{{url("order/finish/{$order->id}")}}">完成服务</a></p>
                @elseif ($order->status->finished)
                    <p class="bomcon"><i>完成服务时间:{{$order->status->finish_time_text}}</i><a
                                href="{{url("order/detail/{$order->id}")}}">订单详情</a></p>
                @elseif ($order->status->success)
                    <p class="bomcon"><i>收款到账时间:{{$order->status->success_time_text}}</i><a
                                href="{{url("order/detail/{$order->id}")}}">订单详情</a></p>
                @endif
            @endif


        </li>
    @endforeach
</ul>

@if (!empty($page))
    <div style="clear:both" id="more_content">正在加载......<span id="more"></span></div>
@endif